Class symantec.itools.awt.util.spinner.VerticalSpinButtonPanel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.awt.util.spinner.VerticalSpinButtonPanel

Object
   |
   +----Component
           |
           +----Container
                   |
                   +----Panel
                           |
                           +----SpinButtonPanel
                                   |
                                   +----symantec.itools.awt.util.spinner.VerticalSpinButtonPanel

public class VerticalSpinButtonPanel
extends SpinButtonPanel
This component groups two spin buttons vertically. It is used for spinners with the ORIENTATION_VERTICAL attribute set.

Version:
1.1, August 27, 1997
Author:
Symantec
See Also:
Spinner, Orientation, ORIENTATION_VERTICAL

Variable Index

 o widthHeightRatio
The ratio of width to height of the spinner buttons.

Constructor Index

 o symantec.itools.awt.util.spinner.VerticalSpinButtonPanel()
Constructs the default VerticalSpinButtonPanel.

Method Index

 o getMinimumSize()
Returns the minimum dimensions to properly display this component.
 o getPreferredSize()
Returns the recommended dimensions to properly display this component.
 o minimumSize()
 o preferredSize()
 o reshape(int, int, int, int)
Moves and/or resizes this component.

Variables

 o widthHeightRatio
protected double widthHeightRatio
The ratio of width to height of the spinner buttons. i.e. width is * height.

Constructors

 o VerticalSpinButtonPanel
public VerticalSpinButtonPanel()
Constructs the default VerticalSpinButtonPanel.

Methods

 o getMinimumSize
public java.awt.Dimension getMinimumSize()
Returns the minimum dimensions to properly display this component. This is a standard Java AWT method which gets called to determine the minimum size of this component. It simply returns the results of a call to preferedSize().

Overrides:
getMinimumSize in class Container
 o getPreferredSize
public java.awt.Dimension getPreferredSize()
Returns the recommended dimensions to properly display this component. This is a standard Java AWT method which gets called to determine the recommended size of this component.

Overrides:
getPreferredSize in class SpinButtonPanel
 o minimumSize
public java.awt.Dimension minimumSize()
Note: minimumSize() is deprecated.

Overrides:
minimumSize in class Container
See Also:
getMinimumSize().
 o preferredSize
public java.awt.Dimension preferredSize()
Note: preferredSize() is deprecated.

Overrides:
preferredSize in class Container
See Also:
getPreferredSize().
 o reshape
public void reshape(int x,
                    int y,
                    int width,
                    int height)
Moves and/or resizes this component. This is a standard Java AWT method which gets called to move and/or resize this component. Components that are in containers with layout managers should not call this method, but rely on the layout manager instead. This method is overridden to reshape the two direction buttons.

Parameters:
x - horizontal position in the parent's coordinate space
y - vertical position in the parent's coordinate space
width - the new width
height - the new height
Overrides:
reshape in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index